/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jpa.session;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import jpa.entities.FinancialStatement;

/**
 *
 * @author andreas
 */
@Stateless
public class FinancialStatementFacade extends AbstractFacade<FinancialStatement> implements FinancialStatementFacadeRemote {
    @PersistenceContext(unitName = "Bank-ejbPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public FinancialStatementFacade() {
        super(FinancialStatement.class);
    }

}
